/* lab3-4.css */

/* 外层容器 */
.shop-container {
    width: 350px;
    margin: 50px auto;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 15px;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 标题区域 */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.shop-header h2 {
    font-size: 22px;
    font-weight: bold;
}

/* 默认空心箭头 */
.arrow {
    width: 24px;
    height: 24px;
    background: url("a6ac5148-99b7-4115-b955-fb3bf5ecca2c.png") no-repeat center;
    background-size: contain;
    transition: 0.3s;
    cursor: pointer;
}

/* 悬停变为红底白箭头 */
.arrow:hover {
    background: url("d09ef652-9aef-4196-a59c-df85a7a1c884.png") no-repeat center;
    background-size: contain;
}

/* 店铺卡片 */
.shop-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f9fb;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

/* 左侧文字部分 */
.shop-info {
    flex: 1;
}

.shop-info h3 {
    font-size: 16px;
    margin: 5px 0;
}

.shop-info .tag {
    display: inline-block;
    border: 1px solid red;
    color: red;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}

.shop-info p {
    color: gray;
    font-size: 14px;
    margin-top: 6px;
}

/* 右侧商品图片 */
.shop-img img {
    width: 90px;
    height: 90px;
    border-radius: 5px;
}
